

use "$P_Data/PCResponse/price_change_wi5m_response_type_count-cluster_rival_all_20_80-e5.dta", clear


tostring YMD, replace force
gen date=date(YMD, "YMD")
drop YMD
format date %td
gener year = year(date)
gener month = month(date)
gener year_month =ym(year,month)

drop if year>=2019
drop if year<2016

save "$P_Data_Processed/daily_price_change_cluster_5min.dta", replace

